package com.nut.course.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nut.course.entity.HitsV1;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
@DS("clickhouse")
public interface HitsV1Mapper extends BaseMapper<HitsV1> {

    @Select("select Title from hits_v1 limit 2")
    List<String> selectDemo();
}
